##################################################################
# File : /lua/skins/skins.lua
# Description : Skins definitions
# Author : GPG
##################################################################

--[[
This file defines skin directories as well as certain skin settings like fonts and colors
Each skin is a table entry in the skins table
it contains the following fields:
 default: The skin to look at if we can't find a needed component in the current skin. Note that this cascades,
          so if the component isn't in the default skin, it will check the defaults default, etc, until there are no more skins to check
 texturesPath: where the textures (and currently layout files) are found in this skin
 buttonFont: default font used for button faces
 bodyFont: font used for all other text
 fixedFont: font used for fixed width characters
 fontColor: common font color
 highlightColor: text highlight color
 disabledColor: text disabled color
 panelColor: default color when drawing a panel
--]]


skins = {
    # There are currently no additonal skins, so default is the only one
    # Removing this code will make texture loading a bit faster

    # warning, do not change the name of this skin descriptor or things will break!
    default = {
        # note, no default value here, so the "default chain" will get broken at this point, and you will get file not found
        texturesPath = "/textures/ui/common",
        buttonFont = "Hypatia Sans Pro",
        bodyFont = "Hypatia Sans Pro",
        fixedFont = "Hypatia Sans Pro",
        titleFont = "Hypatia Sans Pro",
        flashFont = "Hypatia Sans Pro Black",
        fontColor = "ffffffff",
        specialFontColor = "ffffdb6c",
        titleFontColor = "FFffff54",
        fontOverColor = "FFffff54",
        fontDownColor = "FFffff54",
        buttonFontColor = "ffc0c0c0",
        buttonFontOverColor = "ff4d4a34",
        buttonFontDownColor = "fffff799",
        buttonFontSelectedColor = "ff000000",
        bodyColor = "FF6FAFAF",
        dialogCaptionColor = "FFbadbdb",
        dialogColumnColor = "FF6FAFAF",
        dialogButtonColor = "FF69AB4D",
        dialogButtonFont = "Hypatia Sans Pro",
        highlightColor = "FF858585",
        disabledColor = "FF8a8a8a",
        panelColor = "FF4A5D6B",
        transparentPanelColor = "AA4A5D6B",
        consoleBGColor = "BB008080",
        consoleFGColor = "white",
        consoleTextBGColor = "80000000",
        layouts = {"minimal"},
        # cursor format is: texture name, hotspotx, hotspoty, [optional] num frames, [optional] fps
        cursors = {
            DEFAULT = {'/textures/ui/common/game/cursors/blue.dds', 2, 2},
            Enemy = {'/textures/ui/common/game/cursors/red-.dds', 2, 2, 20, 20},
            Friendly = {'/textures/ui/common/game/cursors/green-.dds', 2, 2, 20, 20},
            Ally = {'/textures/ui/common/game/cursors/gold-.dds', 2, 2, 20, 20},
            Loot = {'/textures/ui/common/game/cursors/grab.dds', 2, 2},
            OpenShop = {'/textures/ui/common/game/cursors/openshop-.dds', 15, 15, 16, 25},
            AbilityTarget = {'/textures/ui/common/game/cursors/single_target_ability-.dds', 2, 2, 20, 20},
            RULEUCC_Move = {'/textures/ui/common/game/cursors/move-.dds', 15, 15, 12, 12},
            RULEUCC_AggressiveMove = {'/textures/ui/common/game/cursors/move-.dds', 15, 15, 12, 12},
            RULEUCC_Attack = {'/textures/ui/common/game/cursors/red.dds', 2, 2},
            RULEUCC_Invalid = {'/textures/ui/common/game/cursors/blue_invalid.dds', 2, 2},
            DRAGCOMMAND = {'/textures/ui/common/game/cursors/waypoint-drag.dds', 7, 7},
            NE_SW = {'/textures/ui/common/game/cursors/ne_sw.dds', 15, 15},
            NW_SE = {'/textures/ui/common/game/cursors/nw_se.dds', 15, 15},
            N_S = {'/textures/ui/common/game/cursors/n_s.dds', 15, 15},
            W_E = {'/textures/ui/common/game/cursors/w_e.dds', 15, 15},
            MOVE_WINDOW = {'/textures/ui/common/game/cursors/move_window.dds', 15, 15},
            Any = {'/textures/ui/common/game/cursors/red.dds', 2, 2},
        },
        
        ### OLD CURSOR LIST
        --[[
        cursors = {
            RULEUCC_Attack = {'/textures/ui/common/game/cursors/attack-.dds', 2, 2, 9, 25},
            RULEUCC_Capture = {'/textures/ui/common/game/cursors/capture-.dds', 15, 15, 11, 18},
            RULEUCC_Script = {'/textures/ui/common/game/cursors/selectable.dds', 2, 2},
            RULEUCC_Guard = {'/textures/ui/common/game/cursors/guard-.dds', 15, 15, 10, 12},
            RULEUCC_Move = {'/textures/ui/common/game/cursors/move-.dds', 15, 15, 12, 12},
            RULEUCC_AggressiveMove = {'/textures/ui/common/game/cursors/attack-.dds', 15, 15, 12, 12},
            RULEUCC_Patrol = {'/textures/ui/common/game/cursors/patrol-.dds', 15, 15, 5, 12},
            RULEUCC_Repair = {'/textures/ui/common/game/cursors/repair-.dds', 15, 15, 7, 12},
            RULEUCC_Invalid = {'/textures/ui/common/game/cursors/selectable-invalid.dds', 2, 2},
            COORDINATED_ATTACK = {'/textures/ui/common/game/cursors/attack_coordinated.dds', 15, 15},
            BUILD = {'/textures/ui/common/game/cursors/selectable-.dds', 2, 2, 7, 12},
            HOVERCOMMAND = {'/textures/ui/common/game/cursors/waypoint-hover.dds', 7, 7},
            DRAGCOMMAND = {'/textures/ui/common/game/cursors/waypoint-drag.dds', 7, 7},
            MOVE2PATROLCOMMAND = {'/textures/ui/common/game/cursors/patrol.dds', 15, 15},
            DEFAULT = {'/textures/ui/common/game/cursors/selectable.dds', 2, 2},
            NE_SW = {'/textures/ui/common/game/cursors/ne_sw.dds', 15, 15},
            NW_SE = {'/textures/ui/common/game/cursors/nw_se.dds', 15, 15},
            N_S = {'/textures/ui/common/game/cursors/n_s.dds', 15, 15},
            W_E = {'/textures/ui/common/game/cursors/w_e.dds', 15, 15},
            MOVE_WINDOW = {'/textures/ui/common/game/cursors/move_window.dds', 15, 15},
            Enemy = {'/textures/ui/common/game/cursors/attack-.dds', 2, 2, 10, 25},
            Any = {'/textures/ui/common/game/cursors/attack-.dds', 2, 2, 10, 25},
            Ground = {'/textures/ui/common/game/cursors/reclaim.dds', 15, 15},
            AbilityTarget = {'/textures/ui/common/game/cursors/useability-.dds', 15, 15, 7, 25},
            AbilityTargetValid = {'/textures/ui/common/game/cursors/useability-valid-.dds', 2, 2, 7, 18},
            AbilityTargetInvalid = {'/textures/ui/common/game/cursors/useability-invalid.dds', 2, 2},
            AbilityTargetAlly = {'/textures/ui/common/game/cursors/useability-.dds', 15, 15, 9, 25},
            Loot = {'/textures/ui/common/game/cursors/loot-.dds', 15, 15, 11, 18},
            OpenShop = {'/textures/ui/common/game/cursors/openshop-.dds', 15, 15, 16, 25},
            Foundation = {'/textures/ui/common/game/cursors/foundation-.dds', 2, 2, 14, 12},
            Castle = {'/textures/ui/common/game/cursors/castle.dds', 2, 2},
        },
        --]]
    },
}